<div ng-controller="dataStatisticAllCtrl">
  <!-- 营业额/税额增长图表 -->
  <div class="col-xs-12 col-md-12 col-lg-12">
      <div class="widget">
          <div class="widget-header ">
              <span class="widget-caption">营业额/税额增长图表</span>
              <div class="widget-buttons">
                  <a data-toggle="maximize">
                      <i class="fa fa-expand"></i>
                  </a>
                  <a data-toggle="collapse">
                      <i class="fa fa-minus"></i>
                  </a>
                  <a data-toggle="dispose">
                      <i class="fa fa-times"></i>
                  </a>
              </div>
          </div>
          <div class="widget-body" style="display:block;height:auto">
            <div class="row">
              <div class="col-sm-12">
                <div class="selectModel">
                  <p>
                    <span class="selectModel-head">统计时间:</span>
                    <span>
                      <a ng-click="checkByYear1(0)" ng-class="chart1.conditions[0]?'current':''">总计</a>
                      <a ng-click="checkByYear1(1)" ng-class="chart1.conditions[1]?'current':''">最近三年</a>
                      <a ng-click="checkByYear1(2)" ng-class="chart1.conditions[2]?'current':''">最近五年</a>
                      <a ng-click="checkByYear1(3)" ng-class="chart1.conditions[3]?'current':''">最近十年</a>
                      <a ng-repeat="year in years" ng-click="checkByMonth1(year,$index)" ng-class="chart1.yearsArray[$index]?'current':''">{{year}}年</a>
                    </span>
                  </p>
                  <p>
                    <span class="selectModel-head">统计类型:</span>
                    <span>
                      <a class="current" ng-if="chart1.showByYear">按年度统计</a>
                      <a ng-click="selMonthType1(0)" ng-if="chart1.showByMonth" ng-class="!chart1.monthType?'current':''">按月度统计</a>
                      <a ng-click="selMonthType1(1)" ng-if="chart1.showByMonth" ng-class="chart1.monthType?'current':''">按季度统计</a>
                    </span>
                  </p>
                  <p>
                    <span class="selectModel-head">数据类型:</span>
                    <span>
                      <a ng-click="selChartType1(0)" ng-class="chart1.chartType?'current':''">营业额</a>
                      <a ng-click="selChartType1(1)" ng-class="!chart1.chartType?'current':''">税额</a>
                    </span>
                  </p>
                </div>
                <div id="charts1" style="width:100%;min-height:550px;">
                </div>
              </div>
            </div>
          </div>
      </div>
  </div>
  <!-- 营业额/税额占比图 -->
  <div class="col-xs-12 col-md-12 col-lg-12">
      <div class="widget">
          <div class="widget-header ">
              <span class="widget-caption">营业额/税额占比图</span>
              <div class="widget-buttons">
                  <a data-toggle="maximize">
                      <i class="fa fa-expand"></i>
                  </a>
                  <a data-toggle="collapse">
                      <i class="fa fa-minus"></i>
                  </a>
                  <a data-toggle="dispose">
                      <i class="fa fa-times"></i>
                  </a>
              </div>
          </div>
          <div class="widget-body" style="display:block;height:auto">
            <div class="row">
              <div class="col-sm-12">
                <div class="selectModel">
                  <p>
                    <span class="selectModel-head">统计时间:</span>
                    <span>
                      <a ng-click="checkByYear2(0)" ng-class="chart2.conditions[0]?'current':''">总计</a>
                      <a ng-click="checkByYear2(1)" ng-class="chart2.conditions[1]?'current':''">最近三年</a>
                      <a ng-click="checkByYear2(2)" ng-class="chart2.conditions[2]?'current':''">最近五年</a>
                      <a ng-click="checkByYear2(3)" ng-class="chart2.conditions[3]?'current':''">最近十年</a>
                      <a ng-repeat="year in years" ng-click="checkByMonth2(year,$index)" ng-class="chart2.yearsArray[$index]?'current':''">{{year}}年</a>
                    </span>
                  </p>
                  <p>
                    <span class="selectModel-head">统计类型:</span>
                    <span>
                      <a class="current" ng-if="chart2.showByYear">按年度统计</a>
                      <a ng-click="selYear2(0)" ng-if="chart2.showByMonth" ng-class="chart2.monthType[0]?'current':''">按年度统计</a>
                      <a ng-click="selSeason2(0)" ng-if="chart2.showByMonth" ng-class="chart2.monthType[1]?'current':''">按季度统计</a>
                      <a ng-click="selMonth2(1)" ng-if="chart2.showByMonth" ng-class="chart2.monthType[2]?'current':''">按月度统计</a>
                    </span>
                  </p>
                  <p ng-if="chart2.showSeason">
                    <span class="selectModel-head">具体时间:</span>
                    <span>
                      <a ng-click="selRequestSeason2(1)" ng-class="chart2.season[0]?'current':''">第一季度</a>
                      <a ng-click="selRequestSeason2(2)" ng-class="chart2.season[1]?'current':''">第二季度</a>
                      <a ng-click="selRequestSeason2(3)" ng-class="chart2.season[2]?'current':''">第三季度</a>
                      <a ng-click="selRequestSeason2(4)" ng-class="chart2.season[3]?'current':''">第四季度</a></span>
                  </p>
                  <p ng-if="chart2.showMonth">
                    <span class="selectModel-head">具体时间:</span>
                    <span>
                      <a ng-click="selRequestMonth2(1)"  ng-class="chart2.month[0]?'current':''">1月</a><a ng-click="selRequestMonth2(2)"  ng-class="chart2.month[1]?'current':''">2月</a><a ng-click="selRequestMonth2(3)" ng-class="chart2.month[2]?'current':''">3月</a>
                      <a ng-click="selRequestMonth2(4)" ng-class="chart2.month[3]?'current':''">4月</a><a ng-click="selRequestMonth2(5)" ng-class="chart2.month[4]?'current':''">5月</a><a ng-click="selRequestMonth2(6)" ng-class="chart2.month[5]?'current':''">6月</a>
                      <a ng-click="selRequestMonth2(7)"  ng-class="chart2.month[6]?'current':''">7月</a><a ng-click="selRequestMonth2(8)"  ng-class="chart2.month[7]?'current':''">8月</a><a ng-click="selRequestMonth2(9)" ng-class="chart2.month[8]?'current':''">9月</a>
                      <a ng-click="selRequestMonth2(10)" ng-class="chart2.month[9]?'current':''">10月</a><a ng-click="selRequestMonth2(11)" ng-class="chart2.month[10]?'current':''">11月</a><a ng-click="selRequestMonth2(12)" ng-class="chart2.month[11]?'current':''">12月</a>
                    </span>
                  </p>
                  <!-- <p>
                    <span class="selectModel-head">数据类型:</span>
                    <span>
                      <a ng-click="selChartType2(0)" ng-class="chart2.chartType?'current':''">营业额</a>
                      <a ng-click="selChartType2(1)" ng-class="!chart2.chartType?'current':''">税额</a>
                    </span>
                  </p> -->
                </div>
                <div id="charts2" style="width:100%;min-height:550px;">
                </div>
              </div>
            </div>
          </div>
      </div>
  </div>

  <!-- 进销对比图表 -->
  <!-- <div class="col-xs-12 col-md-12 col-lg-12">
      <div class="widget">
          <div class="widget-header ">
              <span class="widget-caption">进销对比图表</span>
              <div class="widget-buttons">
                  <a data-toggle="maximize">
                      <i class="fa fa-expand"></i>
                  </a>
                  <a data-toggle="collapse">
                      <i class="fa fa-minus"></i>
                  </a>
                  <a data-toggle="dispose">
                      <i class="fa fa-times"></i>
                  </a>
              </div>
          </div>
          <div class="widget-body" style="display:block;height:auto">
            <div class="row">
              <div class="col-sm-12">
                <div class="selectModel">
                  <p>
                    <span class="selectModel-head">统计时间:</span>
                    <span>
                      <a ng-click="checkByYear3(0)" ng-class="classPipe.conditions[0]?'current':''">总计</a>
                      <a ng-click="checkByYear3(1)" ng-class="classPipe.conditions[1]?'current':''">最近三年</a>
                      <a ng-click="checkByYear3(2)" ng-class="classPipe.conditions[2]?'current':''">最近五年</a>
                      <a ng-click="checkByYear3(3)" ng-class="classPipe.conditions[3]?'current':''">最近十年</a>
                      <a ng-repeat="year in years" ng-click="checkByMonth3(year,$index)" ng-class="classPipe.yearsArray[$index]?'current':''">{{year}}年</a>
                    </span>
                  </p>
                  <p>
                    <span class="selectModel-head">统计类型:</span>
                    <span>
                      <a class="current" ng-if="chart1.showByYear">按年度统计</a>
                      <a ng-click="selMonthType3(0)" ng-if="classPipe.showByMonth" ng-class="!classPipe.monthType?'current':''">按月度统计</a>
                      <a ng-click="selMonthType3(1)" ng-if="classPipe.showByMonth" ng-class="classPipe.monthType?'current':''">按季度统计</a>
                    </span>
                  </p>
                  <p>
                    <span class="selectModel-head">商品类型:</span>
                    <span>
                      <a></a>
                    </span>
                  </p>
                </div>
                <div id="charts3" style="width:100%;min-height:550px;">
                </div>
              </div>
            </div>
          </div>
      </div>
  </div> -->

  <!-- 每种商品营业额的占比饼图 -->
  <div class="col-xs-12 col-md-12 col-lg-12">
      <div class="widget">
          <div class="widget-header ">
              <span class="widget-caption">每类商品营业额占比</span>
              <div class="widget-buttons">
                  <a data-toggle="maximize">
                      <i class="fa fa-expand"></i>
                  </a>
                  <a data-toggle="collapse">
                      <i class="fa fa-minus"></i>
                  </a>
                  <a data-toggle="dispose">
                      <i class="fa fa-times"></i>
                  </a>
              </div>
          </div>
          <div class="widget-body" style="display:block;height:auto">
            <div class="row">
              <div class="col-sm-12">
                <div class="selectModel">
                  <p>
                    <span class="selectModel-head">商品大类别:</span>
                    <span>
                      <a ng-repeat="class in classes" ng-click="selClass4(class.largeClassId,$index,class.largeClassName)" ng-class="classPipe.largeClassArray[$index]?'current':''">{{class.largeClassName}}</a>
                    </span>
                  </p>
                  <p>
                    <span class="selectModel-head">商品小类别:</span>
                    <span>
                      <a ng-click="selAll()" ng-class="all?'current':''">全部</a>
                      <a ng-repeat="class in smallclasses" ng-click="selSmallClass4(class.smallClassId,$index,class.smallClassName)" ng-class="classPipe.smallClassArray[$index]?'current':''">{{class.smallClassName}}</a>
                    </span>
                  </p>
                  <p>
                    <span class="selectModel-head">统计时间:</span>
                    <span>
                      <a ng-click="checkByYear3(0)" ng-class="classPipe.conditions[0]?'current':''">总计</a>
                      <a ng-click="checkByYear3(1)" ng-class="classPipe.conditions[1]?'current':''">最近三年</a>
                      <a ng-click="checkByYear3(2)" ng-class="classPipe.conditions[2]?'current':''">最近五年</a>
                      <a ng-click="checkByYear3(3)" ng-class="classPipe.conditions[3]?'current':''">最近十年</a>
                      <a ng-repeat="year in years" ng-click="checkByMonth3(year,$index)" ng-class="classPipe.yearsArray[$index]?'current':''">{{year}}年</a>
                    </span>
                  </p>
                  <p>
                    <span class="selectModel-head">统计类型:</span>
                    <span>
                      <a class="current" ng-if="classPipe.showByYear">按年度统计</a>
                      <a ng-click="selYear3(0)" ng-if="classPipe.showByMonth" ng-class="classPipe.monthType[0]?'current':''">按年度统计</a>
                      <a ng-click="selSeason3(0)" ng-if="classPipe.showByMonth" ng-class="classPipe.monthType[1]?'current':''">按季度统计</a>
                      <a ng-click="selMonth3(1)" ng-if="classPipe.showByMonth" ng-class="classPipe.monthType[2]?'current':''">按月度统计</a>
                    </span>
                  </p>
                  <p ng-if="classPipe.showSeason">
                    <span class="selectModel-head">具体时间:</span>
                    <span>
                      <a ng-click="selRequestSeason3(1)" ng-class="classPipe.season[0]?'current':''">第一季度</a>
                      <a ng-click="selRequestSeason3(2)" ng-class="classPipe.season[1]?'current':''">第二季度</a>
                      <a ng-click="selRequestSeason3(3)" ng-class="classPipe.season[2]?'current':''">第三季度</a>
                      <a ng-click="selRequestSeason3(4)" ng-class="classPipe.season[3]?'current':''">第四季度</a></span>
                  </p>
                  <p ng-if="classPipe.showMonth">
                    <span class="selectModel-head">具体时间:</span>
                    <span>
                      <a ng-click="selRequestMonth3(1)"  ng-class="classPipe.month[0]?'current':''">1月</a><a ng-click="selRequestMonth3(2)"  ng-class="classPipe.month[1]?'current':''">2月</a><a ng-click="selRequestMonth3(3)" ng-class="classPipe.month[2]?'current':''">3月</a>
                      <a ng-click="selRequestMonth3(4)" ng-class="classPipe.month[3]?'current':''">4月</a><a ng-click="selRequestMonth3(5)" ng-class="classPipe.month[4]?'current':''">5月</a><a ng-click="selRequestMonth3(6)" ng-class="classPipe.month[5]?'current':''">6月</a>
                      <a ng-click="selRequestMonth3(7)"  ng-class="classPipe.month[6]?'current':''">7月</a><a ng-click="selRequestMonth3(8)"  ng-class="classPipe.month[7]?'current':''">8月</a><a ng-click="selRequestMonth3(9)" ng-class="classPipe.month[8]?'current':''">9月</a>
                      <a ng-click="selRequestMonth3(10)" ng-class="classPipe.month[9]?'current':''">10月</a><a ng-click="selRequestMonth3(11)" ng-class="classPipe.month[10]?'current':''">11月</a><a ng-click="selRequestMonth3(12)" ng-class="classPipe.month[11]?'current':''">12月</a>
                    </span>
                  </p>
                </div>
                <div id="classPipe" style="width:100%;min-height:550px;">
                </div>
              </div>
            </div>
          </div>
      </div>
  </div>

  <!-- 供货商/客户分布图 -->
  <div class="col-xs-12 col-md-12 col-lg-12">
      <div class="widget">
          <div class="widget-header ">
              <span class="widget-caption">客户/供货商分布图</span>
              <div class="widget-buttons">
                  <a data-toggle="maximize">
                      <i class="fa fa-expand"></i>
                  </a>
                  <a data-toggle="collapse">
                      <i class="fa fa-minus"></i>
                  </a>
                  <a data-toggle="dispose">
                      <i class="fa fa-times"></i>
                  </a>
              </div>
          </div>
          <div class="widget-body" style="display:block;height:auto">
            <div class="row">
              <div class="col-sm-12">
                <div id="map" style="width:100%;min-height:550px;">
                </div>
              </div>
            </div>
          </div>
      </div>
  </div>

</div>
